package com.ax.associator.storeDoctor.dao;

import com.ax.associator.storeDoctor.domain.RemoteInquiry;
import org.apache.ibatis.annotations.Param;

public interface RemoteInquiryMapper {
    int deleteByPrimaryKey(Long remoteInquiryId);

    int insert(RemoteInquiry record);

    int insertSelective(RemoteInquiry record);

    /**
     * 问诊服务次数
     * @param doctorId
     * @return
     */
    Integer queryNo(@Param("doctorId") Long doctorId);

    int updateByPrimaryKeySelective(RemoteInquiry record);

    int updateByPrimaryKey(RemoteInquiry record);
}